package com.zhoust.fastdome.business.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * (CommonLog)表实体类
 *
 * @author makejava
 * @since 2021-09-22 17:37:53
 */
@SuppressWarnings("serial")
public class CommonLog extends Model<CommonLog> {
    //日志主键
    @TableId
    private String logId;
    //操作类型
    private String operaType;
    //操作人工号
    private String operaNo;
    //操作人姓名
    private String operaNam;
    //请求路径
    private String requestUri;
    //方法名
    private String methodName;
    //功能名称
    private String uriDesc;
    //IP地址
    private String remoteIp;
    //请求报文
    private String requestBody;
    //返回报文
    private String responseBody;
    //创建时间
    private Date createTime;


    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getOperaType() {
        return operaType;
    }

    public void setOperaType(String operaType) {
        this.operaType = operaType;
    }

    public String getOperaNo() {
        return operaNo;
    }

    public void setOperaNo(String operaNo) {
        this.operaNo = operaNo;
    }

    public String getOperaNam() {
        return operaNam;
    }

    public void setOperaNam(String operaNam) {
        this.operaNam = operaNam;
    }

    public String getRequestUri() {
        return requestUri;
    }

    public void setRequestUri(String requestUri) {
        this.requestUri = requestUri;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getUriDesc() {
        return uriDesc;
    }

    public void setUriDesc(String uriDesc) {
        this.uriDesc = uriDesc;
    }

    public String getRemoteIp() {
        return remoteIp;
    }

    public void setRemoteIp(String remoteIp) {
        this.remoteIp = remoteIp;
    }

    public String getRequestBody() {
        return requestBody;
    }

    public void setRequestBody(String requestBody) {
        this.requestBody = requestBody;
    }

    public String getResponseBody() {
        return responseBody;
    }

    public void setResponseBody(String responseBody) {
        this.responseBody = responseBody;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.logId;
    }
    }

